Back to Introduction
Up to Table of Contents
Ahead to Properties and Methods

Events

The following subsections list the Jamba events in alphabetical order.

Alarm Event

Used By: Timer objects.
Description: This event occurs when the time (in milliseconds) specified by the AlarmInterval property has passed. For example, if you set the AlarmInterval property to 50, an Alarm event would be triggered after 50 milliseconds.

Click Event

Used By: Check Box objects, Graphic objects, Hotspot objects, Page objects, Picture Push Button objects, Push Button objects, Radio button objects, Text objects, and Text Field objects.
Description: This event occurs when the user left clicks (or clicks with a one-button mouse) on the specified object.

Complete Event

Used By: CGI objects, Text Field objects, and Timer objects.
Description: This event occurs when the To Do List Action associated with the object finishes.

CGI Objects

A CGI program triggers a Complete event when the CGI program returns one or more values to a CGI object.

Timer Objects

A Timer object triggers a Complete event when the AlarmInterval and RepeatCount properties finish their cycles.

Text Field Objects

A Text Field object triggers a Complete event when the user presses the Return key. The Text object can only be single line of text long with the MultipleLines property set to False.

Create Event

Used By: All objects.
Description: This event occurs when the object is first created at runtime.

DoubleClick Event

Used By: Graphic objects, Hotspot objects, Page objects, and Text objects.
Description: This event occurs when the user left-clicks twice quickly (or clicks twice quickly with a one-button mouse) on the object.

EffectComplete Event

Used By: Graphic objects
Description: This event occurs when the visual effect (set via the DisplayEffect property) finishes.

Enter Event

Used By: Graphic objects, Hotspot objects, Page objects, Picture Push Button objects, and Text objects.
Description: This event occurs when the user moves the cursor over a specified object. For example, you could set up a Hotspot object to flash (via its Feedback property) when the user moves the cursor over the object.

GetFocus Event

Used By: Page objects.
Description: This event occurs when the object has focus. When an object has focus it is the object that responds to a valid keyboard action, such as pressing the Return key.

Hide Event

Used By: Check Box objects, Combo objects, Graphic objects, Hotspot objects, List Box objects, Page objects, Picture Push Button objects, Push Button objects, Radio button, objects, Text objects, and Text Field objects.
Description: This event occurs when the object turns invisible (i.e., when the object's Visible property is set to False.).

Leave Event

Used By: Graphic objects, Hotspot objects, Page objects, Picture Push Button objects, and Text objects.
Description: This event occurs when the user moves the cursor off of a specified object. It is the opposite of the Enter event.

LoadComplete Event

Used By: Audio objects, Browser objects, Graphic objects, Page objects, Picture Push Button objects, Text objects, and Text Field objects.
Description: This event occurs when the content file for the object is loaded into the object. The object is created first, then its content is loaded. For example, an Audio object is created and when the specified . au file finishes loading, the LoadComplete event occurs.

LoseFocus Event

Used By: Page objects.
Description: This event occurs when the object no longer has focus. When an object has focus it is the object that responds a valid keyboard action, such as pressing the Return key.

Response1 through Response5 Events

Used By: CGI objects.
Description: These events let you set up multiple To Do Lists in a CGI object. The CGI object can trigger one of these lists to execute depending on the information that it receives back from a CGI program. The CGI program returns information using the Application.TriggerEvent (Object,Event) syntax to specify which event to trigger (Response1, Response2, and so on). For example, if the CGI program returns Application.TriggerEvent (CGI1,Response4), the CGI object executes the To Do items that are listed for the Response4 event. This event allows the CGI program to return one piece of information to accomplish several actions.

Select Event

Used By: Combo Box objects and List Box objects.
Description: This event occurs when the user chooses an item from either a Combo Box or a List Box.

Show Event

Used By: Check Box objects, Combo Box objects, Graphic objects, Hotspot object, List Box objects, Page objects, Picture Push Button objects, Push Button objects, Radio button objects, Text objects, and Text Field objects.
Description: This event occurs after the object turns visible (i.e., when the object's Visible property is set to True.).

SlideToComplete Event

Used By: Check Box objects, Combo objects, Graphic objects, Hotspot objects, List Box objects, Page objects, Picture Push Button objects, Push Button objects, Radio button, objects, Text objects, and Text Field objects.
Description: This event occurs when the object finishes sliding to a position specified in the SlideTo() method. For example, consider an application where the user clicks a Push Button to slide a Graphic (via the SlideTo() method) to the position 300,300. You could set up the Graphic's To Do List for the SlideToComplete event, so that when it finishes sliding, it is removed from view via the Visible property.

Back to Introduction
Up to Table of Contents
Ahead to Properties and Methods